﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using CurriculasEntities;

namespace CurriculasDAO
{
    public class PlanCurricularMap : EntityTypeConfiguration<PlanCurricularBE>
    {
        public PlanCurricularMap()
             : base()
        {
            ToTable("TB_GC_07_PlanCurricular", "dbo");
            HasKey(s => s.codPlanCurricular);
            Property(s => s.codPlanCurricular)
                .HasColumnName("codPlanCurricular")
                .IsRequired();
        }
    }
}
